<template>
<!-- <el-form-item  :label="item" v-for="(item, index) in ['真实姓名','昵称','账号ID','手机号']" :key="index"> -->

  <div> monitor
    <div v-for="(item, index) in socket_list" :key ="index">
        -- openid: {{item.openid}} --  
    </div>
  </div>
</template>

<script>
import {myGet} from "../utils/api"
export default {
  data(){
    return {
      socket_list: []
    }
  }, 
  methods: {
    getSocket(){
      
    }
  }, 
  mounted(){
    myGet("/socket/all?type=asd", null).then(res => {
      var myres = res.data.res
      console.debug(myres)
      this.socket_list = myres

    }).catch(err => {
      console.debug(err)
    })
  },
}
</script>

<style scoped>

</style>